/**
 * @file		bike1.cpp
 * @description		This is simple demonstration of a class.
 *			Notice that all members are public. This is bad.
 *			Now you ask, why?
 * @course		CSCI 123 Section 00000
 * @assignment 
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
#include <cstring>
using namespace std;

/**
 * A simple Bike class. I don't need comments or member functions
 * Since every thing is public, any programmer can view the internal
 * data. I will add, member functions, specifically, accessors and 
 * mutators in later examples.
 */
class Bike {
public:
	char mName[80];
	int mSize;
	double mWheelDiameter;
};

/**
 * @return zero if the application executes successfully
 */
int main() {

	// More dot notation
	Bike mtnBike;
	strcpy(mtnBike.mName, "Foes");
	mtnBike.mSize = 18;
	mtnBike.mWheelDiameter = 26.0;

	cout << "Mountain Bike " << mtnBike.mName << endl;
	cout << "has a frame size of " << mtnBike.mSize << endl;
	cout << "and a wheel diameter of " << mtnBike.mWheelDiameter << endl;

	return 0;
}

